package com.bjc.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bjc.base.bean.request.BookReqVO;
import com.bjc.base.bean.response.BookVO;
import com.bjc.base.core.BaseServiceImpl;
import com.bjc.base.core.IBaseDao;
import com.bjc.base.dao.IBookDao;
import com.bjc.base.service.IBookService;

/**
 * <p>
 * 绘本 服务实现类
 * </p>
 *
 * @author 许自辉
 * @since 2018-06-10
 */
@Service
public class BookImpl extends BaseServiceImpl<BookReqVO, BookVO> implements IBookService {
	
	private IBookDao dao;

	@Autowired
	@Override
	public void setBaseDao(IBaseDao<BookReqVO, BookVO> baseDao) {
		this.baseDao = baseDao;
		this.dao = (IBookDao) baseDao;
	}

	@Override
	public List<BookVO> getBookGroupType(BookReqVO bookReqVO) {
		return dao.getBookGroupType(bookReqVO);
	}
}
